package com.sky.sky_pojo.entity;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class EmployeeQueryPage {
    private String name;
    // 配合@Valid注解，使用@NotNull注解，对参数进行校验
    @NotNull(message = "页码不能为空")
    private Integer page;
    @NotNull(message = "每页大小不能为空")
    private Integer pageSize;
}
